import VueRouter from 'vue-router'
import homeContainer from '../components/tabber/homeContainer.vue';
import memberContainer from '../components/tabber/memberContainer.vue';
import searchContainer from '../components/tabber/searchContainer.vue';
import shopCarContainer from '../components/tabber/shopCarContainer.vue';


var router = new VueRouter({
    routes: [
        {path: '/', redirect : '/home'},
        {path: '/home', component : homeContainer},
        {path: '/member', component : memberContainer},
        {path: '/search', component : searchContainer},
        {path: '/shopCar', component : shopCarContainer},
    ],
    linkActiveClass : 'mui-active'//将路由的选中class 改为mui-active
})

export default router